export const enCodeMsg = {
    'incorrectName': 'The account or password is incorrect, please try again',
    2000: "Request succeeded",
    4000: "Parameter error",
    4001: "Device token authentication failed",
    4002: "Device token expired",
    4003: "User token authentication failed",
    4004: "User token expired",
    4049: "Exceeded the limit of login attempts, please try again later",
    4100: "Network error, please try again",//"Illegal request, device not logged in or login expired",
    4101: "Device offline",
    4102: "Capture failed",
    4103: "Low power device wake up failed",
    4104: "Timeout when getting live streaming address",
    4105: "Network exception, please try again",//"Media server error",
    4106: "Device operation voice call failed",
    4107: "Device operation alarm message subscription failed",
    4108: "Device operation SMS alarm function failed",
    4109: "Device operation voice alarm function failed",
    4110: "Device does not support the service",
    4111: "Device service not enabled, referring to the video traffic package not activated",
    4112: "Device service expired, referring to the video traffic package expired",
    4113: "Network exception, please try again",//"Device service operation failed",
    4117: "No permission for device service operation",
    4118: "Network connection timeout, device may be offline",
    4119: "Unpurchased cloud storage package",//"Device service not enabled, referring to the cloud storage package not activated, need to purchase cloud storage from cloud service",
    4120: "Device is in deep sleep mode, please manually wake up and try again",
    5000: "Network exception, please try again",
    5004: "Key verification error",
    5005: "Parameter error",
    5009: "WeChat code error, AES decryption error",
    5010: "Token expired",
    5011: "Token error",
    5012: "Token does not have permission",
    5013: "Not supported",
    5014: "Operation too frequent",
    1055: 'Request exception',//"Internal service error",
    1056: 'Media stream status exception',//"Stream closing",
    1057: 'Media stream status exception',//"Stream closed",
    1058: 'Request exception',//"Device information missing",
    1059: 'Request exception',//"Media information missing",
    1060: 'Request exception',//"Failed to create URL",
    1061: "Request timeout",
    1062: 'Request not supported',//"Media not supported",
    1063: "Verification failed, incorrect username or password",
    1100: 'Device connection exception',//"Unknown device session error",
    1101: 'Device connection exception',//"Device session login failed",
    1102: 'Device connection exception',//"Device session abnormally terminated",
    1103: 'Device connection exception',//"Device session closed",
    1104: 'Device connection exception',//"Failed to create device session",
    1105: 'Device connection exception',// "Failed to create session connection",
    1106: 'Device connection exception',//"Main connection not logged in",
    1107: "Session connection authentication failed",
    1108: 'Request not supported',//"This session type does not support control",
    1109: 'Intercom is occupied',
    1041:'User is logging in',
    4121:'Device is preparing for sleep, please wait',
    4116:'Not found',
    '-91003':'Token expired, please log in again',
    4123:'Area restriction',


    // rs error code
    4402:'Each mobile phone can only send three text messages per day',
    4022:'Mobile number is not registered',
    4010:'Verification code error',
    4011:'Passwords do not match',
    4018:'Incorrect password format',
    4404:'Only send once every 120 seconds',
    4403:'Failed to send, please try again later',
    4401:'SMS interface parameter error, please contact us',
    4400:'SMS interface verification failed, please contact us',
    4304:'Exceeded the limit of verification code attempts',
    4024:'Email is not registered',
    4025:'User is not registered',
    91018: 'The current user is not in this user group',
}
export const enRetCodeMsg = {
    0: 'No error',
    100: 'Success',
    101: 'Unknown error (possible reasons: device is offline, etc)',
    102: 'Version not supported',
    103: 'Invalid request',
    104: 'User logged in',
    105: 'User not logged in',
    106: 'Invalid username or password',
    107: 'No permission',
    108: 'Timeout',
    109: 'Search failed, no corresponding file found',
    110: 'Search successful, return all files',
    111: 'Search successful, return partial files',
    112: 'User already exists',
    113: 'User does not exist',
    114: 'User group already exists',
    115: 'User group does not exist',
    116: 'Pirated software',
    117: 'Message format error',
    118: 'PTZ protocol not set',
    119: 'No files found',
    120: 'Configuration not enabled',
    121: 'Digital channel not connected',
    122: 'Maximum number of Nat video connections reached, new Nat video connections not allowed',
    123: 'Maximum number of Tcp video connections reached, new Tcp video connections not allowed',
    124: 'Encryption algorithm error for username and password',
    125: 'Other users have been created, cannot log in with admin',
    126: 'AES encryption data format error',
    127: 'User has disabled video recording and preview functions through features such as one-button masking',
    129: 'Prohibit external IP login',
    130: 'NAS address already exists',
    131: 'Path is being used, operation cannot be performed',
    132: 'NAS has reached the maximum value allowed, no more additions allowed',
    137: 'Device login token error',
    140: 'Consumer product remote control binding key error',
    150: 'Success, device needs to restart',
    152: 'Storage is full',
    153: 'No storage device (no SD card or hard disk)',
    160: 'Video backup failed',
    161: 'No video device or device not recording',
    162: 'Device is in the process of being added',
    163: 'Special password error value for APS customer',
    164: 'Maximum number of tasks created',
    202: 'Device not logged in',
    203: 'Device password error',
    205: 'Device account error',
    206: 'Device is locked',
    207: 'Device has been blacklisted',
    208: 'Device is in use',
    209: 'Invalid user management input',
    210: 'Duplicate index, such as an existing user to be added',
    211: 'Object does not exist, used for querying',
    212: 'Object does not exist',
    213: 'Object is in use',
    214: 'Subset out of range (e.g. group permissions exceed permission table, user permissions exceed group permission range, etc)',
    215: 'Incorrect password',
    216: 'Passwords do not match',
    217: 'Reserved account',
    602: 'Application restart required',
    603: 'System restart required',
    604: 'File write error',
    605: 'Feature not supported',
    606: 'Validation failed',
    607: 'Configuration parsing error',
    609: 'Configuration does not exist',
    502: 'Invalid command',
    503: 'Intercom is on',
    504: 'Intercom is off',
    511: 'Upgrade in progress',
    512: 'Upgrade not started',
    513: 'Upgrade data error',
    514: 'Upgrade failed',
    515: 'Upgrade successful',
    516: 'Device busy or cloud upgrade server busy',
    517: 'The upgrade is initiated by another connection and cannot be stopped',
    521: 'Restore default failed',
    522: 'Device restart required',
    523: 'Default configuration is invalid',
}